<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="cms" uri="http://cms.gxsoft.com/tags-cms"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>用人单位信息管理</title>
<link href="<%=request.getContextPath()%>/css/reset.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<table width="100%" border="1">
<c:if test="${!empty list && param.areaCode != ''}">
 <tr>
    <td class="nohover" colspan="23">
    <input class="buttondownload" type="button" value="下载" onclick="window.location.href='<%=request.getContextPath()%>/ViewVisiteNext.do?method=nextXls&areaCode=${param.areaCode}&year=${param.year}&type=${param.type}'">
    </td>
 </tr>
 <tr>
    <td class="nohover" colspan="23" align="center">
    <b>劳动监察案件统计表</b>
    </td>
 </tr>
 <tr>
    <td class="nohover" colspan="23" align="left">
    填报单位：${organ.supOrganName}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    ${param.year} 年
    <c:if test="${param.type == '0'}">全年</c:if><c:if test="${param.type == '1'}">上半年</c:if><c:if test="${param.type == '2'}">下半年</c:if><c:if test="${param.type == '3'}">第1季度</c:if><c:if test="${param.type == '4'}">第2季年</c:if><c:if test="${param.type == '5'}">第3季度</c:if><c:if test="${param.type == '6'}">第4季度</c:if>
    </td>
 </tr>
 <tr>
     <td  rowspan="2"   align="center" valign="top">项目</th>
	 <td width="52" rowspan="2"   align="center" valign="center">序号</td>
	 <td width="61" rowspan="2"   align="center" valign="center">上访件数</td>
	 <td height="29" colspan="6"   align="center" valign="center">上访原因</td>
	 <td colspan="2" valign="top">处理情况</td>
     <td width="122" rowspan="2"   align="center" valign="center">上访人数（人）</td>
   </tr>
   <tr>
     <td width="59" height="54"  align="center" valign="center">拖欠工资问题<br>     </td>
	 <td width="84" valign="center" align="center">解除劳动合同、经济补偿金等问题</td>
	 <td width="82" valign="center" align="center">社会保险问题<br>     </td>
	 <td width="95" valign="center" align="center">职工下岗基本生活费问题</td>
	 <td width="103" valign="center" align="center">企业改制（破产）职工安置问题</td>
	 <td width="75"  valign="center" align="center">其他</td>
	 <td width="81" valign="center" align="center">已处理</td>
     <td width="99" valign="center" align="center">未处理</td>
   </tr>
  <tr>
    <td width="121" align="center">甲</td>
    <td width="24" align="center">乙</td>
    <td height="20" align="center">1</td>
    <td align="center">2</td>
    <td align="center">3</td>
    <td align="center">4</td>
    <td align="center">5</td>
    <td align="center">6</td>
    <td align="center">7</td>
    <td align="center">8</td>
    <td align="center">9</td>
    <td align="center">10</td>
  </tr>
  <c:forEach items="${list}" var="prod" varStatus="lineInfo">
  <c:set var="num" scope="page" value="${num + 1}"/>
  <c:set var="v1" scope="page" value="${v1 + prod[1]}"/>
  <c:set var="v2" scope="page" value="${v2 + prod[2]}"/>
  <c:set var="v3" scope="page" value="${v3 + prod[3]}"/>
  <c:set var="v4" scope="page" value="${v4 + prod[4]}"/>
  <c:set var="v5" scope="page" value="${v5 + prod[5]}"/>
  <c:set var="v6" scope="page" value="${v6 + prod[6]}"/>
  <c:set var="v7" scope="page" value="${v7 + prod[7]}"/>
  <c:set var="v8" scope="page" value="${v8 + prod[8]}"/>
  <c:set var="v9" scope="page" value="${v9 + prod[9]}"/>
  <c:set var="v10" scope="page" value="${v10 + prod[10]}"/>
  </c:forEach>
  <tr>
    <td height="24" align="center">总计</td>
    <td>1</td>
    <td>${v1}</td>
    <td>${v2}</td>
    <td>${v3}</td>
    <td>${v4}</td>
    <td>${v5}</td>
    <td>${v6}</td>
    <td>${v7}</td>
    <td>${v8}</td>
    <td>${v9}</td>
    <td>${v10}</td>
  </tr>
  <c:forEach items="${list}" var="prod" varStatus="lineInfo">
  <tr <c:if test="${lineInfo.count % 2 == 0}">class="blue"</c:if>>
    <td height="24">${prod[0]}</td>
    <td>${lineInfo.count+1}</td>
    <td>${prod[1]}</td>
    <td>${prod[2]}</td>
    <td>${prod[3]}</td>
    <td>${prod[4]}</td>
    <td>${prod[5]}</td>
    <td>${prod[6]}</td>
    <td>${prod[7]}</td>
    <td>${prod[8]}</td>
    <td>${prod[9]}</td>
    <td>${prod[10]}</td>
  </tr>
  </c:forEach>
  </c:if>
<c:if test="${empty list || param.areaCode == ''}">
 <tr>
    <td class="nohover" colspan="23" align="center">
    <b>请选择统计条件！</b>
    </td>
 </tr>
</c:if>
</table>
</body>
</html>
